/**
 *
 */
package com.zhuoyue.elmt.dao;

import com.eit.eitsite.common.persistence.CrudDao;
import com.eit.eitsite.common.persistence.annotation.MyBatisDao;
import com.zhuoyue.elmt.entity.MaintenanceStaff;
import com.zhuoyue.elmt.entity.MaintenanceStaffDevice;

import java.util.HashMap;
import java.util.List;

/**
 * 维保人员备案DAO接口
 * @author chenhao
 * @version 2016-09-08
 */
@MyBatisDao
public interface MaintenanceStaffDao extends CrudDao<MaintenanceStaff> {
    public List<HashMap> findStaffDeviceList(MaintenanceStaffDevice maintenanceStaffDevice);

    public MaintenanceStaff getByLoginName(String loginName);

    public MaintenanceStaff getByLoginNameAndOrgcode(MaintenanceStaff qryMaintenanceStaff);

    public List<MaintenanceStaff> staffgrouplist(MaintenanceStaff qryMaintenanceStaff);

    public List<MaintenanceStaff> staffgroupnolist(HashMap qryMap);

    public List<MaintenanceStaff> findDeviceMainStaffList(MaintenanceStaff qryMaintenanceStaff);

    public List<MaintenanceStaff> findPushDeviceMainStaffList(MaintenanceStaff qryMaintenanceStaff);

}